package com.yxw.yx_hotel.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author liuxin
 * @date 2023.0913
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper=true)
@ApiModel(value="AddRoomBedDto", description="床位新增修改Dto")
public class AddRoomBedDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("床位名称")
    @NotBlank(message = "床位名称不能为空")
    private String bedName;

    @ApiModelProperty("床位ID（修改时必填）")
    private Long bedId;
}
